<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/taglibs.jsp"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><decorator:title default="数据采集系统"/></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="Shortcut Icon" href="${ctx}/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="${ctx}/js/modernizr-1.7.min.js"></script>
    <script type="text/javascript" src="${ctx}/js/jquery-1.4.4.min.js"></script>
    <link rel="stylesheet" type="text/css" href="${ctx}/css/52framework/reset.css" media="screen" title="html5doctor.com Reset Stylesheet" />
    <link rel="stylesheet" type="text/css" href="${ctx}/css/52framework/css3.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="${ctx}/css/52framework/general.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="${ctx}/css/52framework/grid.css" media="screen" />
    
    
    <link rel="stylesheet" type="text/css" href="${ctx}/admin/css/common.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="${ctx}/admin/css/header.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="${ctx}/admin/css/content.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="${ctx}/admin/css/footer.css" media="screen" />
     
     <script type="text/javascript">
     	function toggleShowMemun(obj, id) {
     		var h2Obj = $(obj);
	  		var dlObj = $("#dl_"+id);
	  		if(h2Obj.attr("class") != "open") {
	  			dlObj.show();
	  			h2Obj.removeClass("close").addClass("open");
	  		} else {
	  			dlObj.hide();
	  			h2Obj.removeClass("open").addClass("close");
	  		}
	  		return false;
     	}
     	
     	function startTime() 
		{ 
			var today=new Date(); 
			var years=today.getFullYear(); 
			var months=today.getMonth(); 
			var d=today.getDate(); 
			var h=today.getHours(); 
			var m=today.getMinutes(); 
			var s=today.getSeconds();
			// add a zero in front of numbers<10 
			months=months+1; 
			months=checkTime(months); 
			h=checkTime(h);
			d=checkTime(d); 
			m=checkTime(m); 
			s=checkTime(s); 
			var weekday=new Array(7); 
			weekday[0]="星期日"; 
			weekday[1]="星期一"; 
			weekday[2]="星期二"; 
			weekday[3]="星期三"; 
			weekday[4]="星期四"; 
			weekday[5]="星期五"; 
			weekday[6]="星期六"; 
			var w=weekday[today.getDay()]; 
			$(".time").html("时间："+h+":"+m+":"+s+" 今天是"+years+"年"+months+"月"+d+"日 "+w);
			t=setTimeout('startTime()',500);
		} 
	
	function checkTime(i) 
	{ 
		if (i<10) 
		{
			i="0" + i;
		} 
		return i;
	} 
     	
     startTime();
     </script>
     <decorator:head/>
  </head>
  <body>
    <div class="main_container">
    	<div class="header">
    		<div>
    			<div class="top"><h2>数据采集系统</h2></div>
    		</div>
    		
	    		<div class="nav">
	    		 <ul>
	    		 	<li class="first">当前用户：${admin} &nbsp;[<a href="${ctx}/admin/logout.do">安全退出</a>]</li>
	    		 	<li><a href="#">首页</a></li>
	    		 	<li><a href="${ctx}/admin/collection/task_edit.jsp">新建任务</a></li>
					<li><a href="${ctx}/admin/collection/listCollectionTask.do">任务管理</a></li>
					<li class="last time"></li>
				</ul>
				</div>
    	</div>
 	    
 	    <div class="clean"></div>
 	    <div class="main_bg">
 		   <div class="left_nav">
 		    <div class="nav_content">
	 			<h2 class="open" onclick="toggleShowMemun(this, '1')">采集管理</h2>
				<dl id="dl_1">
					<dd><a href="${ctx}/admin/collection/task_edit.jsp">新建任务</a></dd>
					<dd><a href="${ctx}/admin/collection/listCollectionTask.do">任务管理</a></dd>
				</dl>
	    	</div>
    		</div>
    	 	<decorator:body/>
    	</div>
 		<div class="clearfix"></div>
    	<div class="footer">
    		<div class="copyright">Copyright &copy;  2010-2011 <a href="http://www.56sj.net" title="56sj我来设计">56sj我来设计</a>
    		- <a href="http://www.miibeian.gov.cn/" target="_blank">鄂ICP备12001502号</a><br>
     		 Powered by <a href="/help/about.html" target="_blank" title="56sj我来设计">56sj我来设计</a> 合作联系QQ 1269702965
     		</div>
    	</div>
    </div>
  </body>
</html>



